package com.itheima.pattern.t6_adapter.demo1;

/**
 * 适配器类
 */
public class SDAdapterTF extends TFCardImpl implements SDCard {

    @Override
    public String readSD() {
        System.out.println("Adapter read TFCard");
        return super.readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("Adapter write TFCard");
        super.writeTF(msg);
    }
}
